#ifndef QFONTPROPERTY_H
#define QFONTPROPERTY_H

#include "../../libs/sharedlib/qabstractproperty.h"


class QFontProperty: public SHAREDLIB::QAbstractProperty
{
    Q_OBJECT
public:
    QFontProperty(SHAREDLIB::QAbstractProperty* parent=0);
    QWidget*        getEditor();

    void            setValue(const QVariant &value);

    QString         valueText();
    QIcon           valueIcon();
protected slots:
    void            buttonClicked();
protected:
    void subPropertyChanged(const QVariant &value);
protected:
    SHAREDLIB::QAbstractProperty   *m_pointSize;
    SHAREDLIB::QAbstractProperty   *m_bold;
    SHAREDLIB::QAbstractProperty   *m_italic;
    SHAREDLIB::QAbstractProperty   *m_underline;
    SHAREDLIB::QAbstractProperty   *m_strikeout;
    SHAREDLIB::QAbstractProperty   *m_family;
};

#endif // QFONTPROPERTY_H
